<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <form>
        <label for="text" >用户名：</label><input type="text" id="text">
        <input type="radio" id="male" name="sex" value="male"><label for="male">男</label>
        <input type="radio" id="female" name="sex" value="female"><label for="female">女</label>
    </form>
</body>
</html>